* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 主要内容样式 */
main {
    margin-top: 10px;
}

/* 主要内容标题 */
.main-content h2 {
    color: rgba(255, 140, 100, 0.9);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 140, 100, 0.1);
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: var(--text-light);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.footer-section h4 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.3rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
} 

.post-card {
    background: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(255, 140, 100, 0.2);
    border-color: rgba(255, 200, 180, 0.5);
}

.post-content {
    padding: 1rem;
}

.post-content h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.post-content p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.post-date {
    color: rgba(255, 140, 100, 0.8);
    font-size: 0.8rem;
}

/* 侧边栏标题样式 */
.sidebar h4 {
    color: rgba(255, 140, 100, 0.9);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* 推荐文章标题 */
.recommended-posts h5 {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.recommended-posts li:hover h5 {
    color: rgba(255, 140, 100, 0.9);
}

.recommended-posts span {
    color: rgba(255, 140, 100, 0.8);
    font-size: 0.8rem;
}

/* 标签样式优化 */
.tag-name {
    color: #333;
    font-weight: 500;
}

.tag-count {
    color: rgba(255, 140, 100, 0.8);
    background: rgba(255, 140, 100, 0.1);
}
 